package com.new2i.dao.able;

import java.util.HashMap;
import java.util.List;

import com.new2i.model.ScreenSchoolEntity; 

/**
 * 筛查学校数据库访问的接口
 * 
 * @since 2015/09/22
 * @author 2i
 *
 */
public interface ScreenSchoolDao {

	/**
	 * 
	 * 创建筛查学校
	 * 
	 * @since 2015/09/03
	 * @author 2i
	 * @param scDoctor
	 * @return
	 */

	ScreenSchoolEntity insertScreenSchool(ScreenSchoolEntity scSchool);

	/**
	 * 通过创建机构id获取筛查学校
	 * 
	 * @since 2015/09/22
	 * @author 2i
	 * @param doctor_id
	 * @return
	 */
	List<HashMap<String, Object>> selectScreenSchoolList(Integer doctor_id, Integer page);
	
	

	/**
	 * 通过id获取筛查学校
	 * 
	 * @since 2015/09/24
	 * @author 2i
	 * @param sc_school_id
	 * @return
	 */
	HashMap<String, Object> getScreenSchoolById(Integer sc_school_id);
	 
	/**
	 * 修改筛查学校
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param scQuarter 
	 * @return
	 */
	Integer updateScreenSchool(ScreenSchoolEntity scQuarter);
	

	/**
	 * 移除(软删除)筛查学校
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param sc_school_id
	 * @return
	 */
	Integer removeScreenSchool(Integer sc_school_id,Integer doctor_id);
	

	/**
	 * 移除(软删除)筛查学校
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param sc_school_id
	 * @return
	 */
	Integer backupScreenSchool(Integer sc_school_id,Integer doctor_id);
	
	/**
	 * 删除筛查学校
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param sc_school_id
	 * @return
	 */
	Integer deleteScreenSchool(Integer sc_school_id,Integer doctor_id);
}
